<?php
class account_Model extends MY_Model{
	public function __construct(){
		parent::__construct('accounts');
	}
    
    public function login($username, $password) {
        return $this->read(array('username' => $username, 'passwordd' => $password));
    }
}
?>